WPDiscourse\Test\UtilitiesTest S

Total Complexity 15
Dependencies 3
Dependents 0
Total lines 200
Lines of code 115
Logical lines of code 85
Comment lines 53
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
test_get_discourse_webhook_data()
S
57 1 16
test_publish_to_discourse()
S
57 1 15
test_verify_discourse_webhook_request()
S
60 1 12
setUp()
S
65 1 9
test_get_options()
S
75 1 4
test_validate()
S
69 1 6
test_get_discourse_categories()
S
73 1 5
test_get_discourse_user()
S
72 1 5
test_get_discourse_user_by_email()
S
72 1 5
test_sync_sso_record()
S
65 1 8
test_get_sso_params()
S
72 1 5
test_get_discourse_groups()
S
73 1 5
test_create_discourse_user()
S
70 1 6
test_add_user_to_discourse_group()
S
67 1 7
test_remove_user_from_discourse_group()
S
67 1 7